.m-progress__wrap {
  padding: 20rpx 0;

  .m-progress {
    position: relative;
    height: 6rpx;
    border-radius: 100px;
    background-color: #e5e5e5;
  }

  .m-progress__portion {
    position: absolute;
    left: 0;
    height: 100%;
    border-radius: inherit;
    background-color: var(--color-primary, #409EFF);
  }

  .m-progress__portion--primary {
    background-color: var(--color-primary, #409EFF);
  }

  .m-progress__portion--success {
    background-color: var(--color-success, #67C23A);
  }

  .m-progress__portion--warning {
    background-color: var(--color-warning, #E6A23C);
  }

  .m-progress__portion--danger {
    background-color: var(--color-danger, #F56C6C);
  }

  .m-progress__point {
    position: absolute;
    top: 50%;
    right: 0;
    box-sizing: border-box;
    min-width: 40rpx;
    line-height: 1.5;
    text-align: center;
    word-break: keep-all;
    border-radius: 100px;
    transform: translateY(-50%);
    color: #fff;
    padding: 0 8rpx;
    font-size: 20rpx;
    background-color: var(--color-primary, #409EFF);

    .m-progress__point--primary {
      background-color: var(--color-primary, #409EFF);
    }

    .m-progress__point--success {
      background-color: var(--color-success, #67C23A);
    }

    .m-progress__point--warning {
      background-color: var(--color-warning, #E6A23C);
    }

    .m-progress__point--danger {
      background-color: var(--color-danger, #F56C6C);
    }
  }
}